<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<!--载入js-->
		<script type="text/javascript" src="Public/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="Public/Home/js/shop.js"></script>
		<!--载入本页面css-->
		<link rel="stylesheet" type="text/css" href="Public/Home/css/shopping.css"/>
	</head>
	<body>
		<!--顶部开始-->
		<div id="spdb">
			<div class="spdb_top">
				<div class="spdb_left">
					<span>Hi, </span>
					<div class="spdb_left1">
						<a class="spdb_left1_a1" href=""><?php echo $username?></a>
						<a class="spdb_left1_a2" href="">的个人中心</a>
					</div>
					<a class="spdb_left2" href="<?php echo U('Cart/Logout')?>">退出</a>
				</div>
				<div class="spdb_right">
					<ul>
						<li>
							<a href="">
								<s></s>
								帮助中心
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--顶部结束-->
		
		<!--中间开始-->
		<div id="ckgwc">
			<!--查看购物车开始-->
			<div class="ckgwc_top">
				<div class="ckgwc_top1">
					<a class="ckgwc_top2" href=""></a>
					<div class="ckgwc_top3"></div>
				</div>
				<div class="ckgwc_top4">
					<h3>购物车</h3>
					<a href="<?php echo U('Index/index')?>">继续购物 ></a>
					<div class="ckgwc_top5">
						<div class="ckgwc_top6">
							<span>北京</span>
							<i></i>
						</div>
					</div>
				</div>
			</div>
			<!--查看购物车结束-->
			<!--订单开始-->
			<div class="ckgwc_bottom">
				<!--1-->
				<div class="ckgwc_bottom1">
					<div class="ckgwc_bottom2">
						<div class="ckgwc_bottom3">
							<em></em>
							<a class="ckgwc_bottom3_a1" href="javascript:;"></a>
							<a class="ckgwc_bottom3_a2" href="">森马官方旗舰店</a>
							<a class="ckgwc_bottom3_a3" href=""></a>
						</div>
						<span>单价</span>
						<span>数量</span>
						<span class="ckgwc_bottom2_span1">合计</span>
						<span class="ckgwc_bottom2_span2">重量</span>
					</div>
					<?php foreach ($data['goods'] as $k=>$v){?>
				<form action="" method="post">
					<ul>
						<li>
							<input class="ckgwc_bottom3_ul_a1" type="checkbox" name="sid[]" value="<?php echo $k?>" <?php if($k){?>
                checked
               <?php }?>/>
							<a class="ckgwc_bottom3_ul_a2" href=""><img width="60px" height="60px" src="<?php echo $v['options'][0]?>"/></a>
							<span class="ckgwc_bottom3_ul_span1"><a href=""><?php echo $v['name']?></a></span>
							<span class="ckgwc_bottom3_ul_span2">
								<ins class="ckgwc_bottom3_ul_span2_ins">¥<span><?php echo $v['price']?></span></ins>
								<br />
								<em> 闪购价 </em>
							</span>
							<div class="ckgwc_bottom3_ul_div">
								<a class="ckgwc_bottom3_ul_div_a1" sid="<?php echo $k?>" href="javascript:;"><span></span></a><input type="" name="" class="ckgwc_bottom3_ul_div_input" value="<?php echo $v['num']?>" /><a class="ckgwc_bottom3_ul_div_a2" sid="<?php echo $k?>" href="javascript:;"><span></span><em></em></a>
							</div>
							<span class="ckgwc_bottom3_ul_span3"><strong>¥<?php echo $v['total']?>.00</strong></span>
							<span class="ckgwc_bottom3_ul_span4"><span>0kg</span></span>
							<span class="ckgwc_bottom3_ul_span5">
								<a href="javascript:if(confirm('确定删除吗'))location.href='<?php echo U('del',array('sid'=>$k))?>';">删除</a>
							</span>
							<div class="ckgwc_bottom3_ul_div1">
								<div class="ckgwc_bottom3_ul_div2">
									<?php foreach ($v['options'] as $key=>$value){?>
									<?php if($key!=0){?>
                
									<span><?php echo $value?></span>
									
               <?php }?>
									<?php }?>
								</div>
							</div>
						</li>
					</ul>
					<?php }?>
					<div class="ckgwc_bottom4">
						<span>运费<strong>¥0</strong></span>
						<span style="width: 100px;">商品金额<strong class="ckgwc_bottom4_strong1">¥<?php echo $price?>.00</strong></span>
						<span style="width: 90px;">重量合计<strong>0kg</strong></span>
						<span style="width: 90px;"></span>
					</div>
				</div>
				<!--横线开始-->
				<div class="ckgwc_bottom5"></div>
				<!--横线结束-->
				<!--确认结算开始-->
				<div class="ckgwc_bottom6">
					<div class="ckgwc_bottom7">
						<a href="javascript:;"></a>
						<span class="ckgwc_bottom7_span">选出货到付款商品</span>
						<em class="ckgwc_bottom7_em"></em>
						<span class="ckgwc_bottom7_span"></span>
						<em style="background-color: #FAFAFA;" class="ckgwc_bottom7_em"></em>
						<span class="ckgwc_bottom7_span2">共节省<br /><em>¥0</em></span>
						<em style="background-color: #FAFAFA;" class="ckgwc_bottom7_em"></em>
						<span class="ckgwc_bottom7_span2">总重<br /><em>0kg</em></span>
					</div>
				</div>
				<!--确认结算结束-->
				<!--全选开始-->
				<div class="ckgwc_bottom8">
					<div class="ckgwc_bottom9">
						<!--左-->
						<div class="ckgwc_bottom9_left">
							<span>
								<em></em>
								<input type="checkbox" checked name="" class="ckgwc_bottom9_left_a1" value="" />
								<!--<a class="ckgwc_bottom9_left_a1" href="javascript:;"></a>-->
								<label for="">全选</label>
							</span>
							<div class="ckgwc_bottom9_left1">
								<a href="javascript:if(confirm('确定清空购物车吗'))location.href='<?php echo U('pruge')?>';">批量删除</a>
							</div>
						</div>
						<!--右-->
						<div class="ckgwc_bottom9_right">
							<!--1-->
							<span class="cartFee3">
								运费(以结算页为准)
								<br />
								<em class="cartFee_em">
									<span>¥</span>0
								</em>
							</span>
							<span class="cartFee1">+</span>
							<!--2-->
							<span class="cartFee3 cartFee2">
								商品总价
								<br />
								<em style="color: #E60012;" class="cartFee_em">
									<span class="cartFee2_span" style="color: #E60012;">¥<?php echo $price?>.00</span>
								</em>
							</span>
							<span class="cartFee4">
								<input type="submit" value="确认结算"/>
								<em></em>
								</a>
							</span>
						</div>
						
						<!--上-->
						<em class="ckgwc_bottom_top"></em>
						<!--下-->
						<em class="ckgwc_bottom_bottom"></em>
					</div>
				</div>
				<!--全选结束-->
			</div>
		</form>
			<!--订单结束-->
			<!--猜你喜欢开始-->
			<div class="spcnxh">
				<div class="spcnxh_top">
					<a href="">猜你喜欢</a>
				</div>
				<div class="spcnxh_bottom">
					<ul>
						<li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img width="60" height="60" src="Public/Home/images/shiyong.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">寓语 2016冬装新品男装羽绒服 男潮韩版男士貉子毛领加厚连帽羽绒服男修身外套(军绿色)</a></span>
								<span class="spcnxh_bottom_span3">¥ 498</span>
							</p>
						</li>
						<li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img src="Public/Home/images/spcnxh_bottom.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">Semir/森马 加厚棉衣 男 2015冬装新款男士夹克棒球情侣服棉袄外套韩版潮1y0414121030</a></span>
								<span class="spcnxh_bottom_span3">¥ 99.9</span>
							</p>
						</li><li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img width="60" height="60" src="Public/Home/images/shiyong1.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">冬装 男装舒适保暖提花羽绒服外套JW-45-123508(2380 梅红)</a></span>
								<span class="spcnxh_bottom_span3">¥ 169</span>
							</p>
						</li><li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img width="60" height="60" src="Public/Home/images/shiyong2.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">gurunvani 2015冬装上新 男士羽绒服 韩版修身保暖秋冬男装纯色立领休闲外套 男潮(黄绿色)</a></span>
								<span class="spcnxh_bottom_span3">¥ 99.9</span>
							</p>
						</li>
						<li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img width="60" height="60" src="Public/Home/images/shiyong3.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">evolu 2015新款情侣装冬装 韩版修身加厚羽绒服外套情侣中长款羽绒衣冬104M31(男绿女黄) 先领券 任意满两件再95折 双重优惠来袭</a></span>
								<span class="spcnxh_bottom_span3">¥ 288</span>
							</p>
						</li>
						<li>
							<span class="spcnxh_bottom_span1">
								<a href=""><img width="60" height="60" src="Public/Home/images/shiyong4.jpg"/></a>
							</span>
							<p>
								<span class="spcnxh_bottom_span2"><a href="">Romon/罗蒙 罗蒙男士羽绒服加厚短款修身冬装羽绒衣韩版男装外套新款3Y18509(灰色)</a></span>
								<span class="spcnxh_bottom_span3">¥ 489</span>
							</p>
						</li>
					</ul>
				</div>
			</div>
			<!--猜你喜欢结束-->
		</div>
		<!--中间结束-->
		
		<!--尾部开始-->
		<div id="spwb">
			<!--上-->
			<div class="spwb_top">
				<div class="spwb_top1">
					<div class="spwb_top2">
						<ul>
							<li><a href="">沪ICP备13044278号</a></li>
							<li style="color: #BB99BB;">|</li>
							<li><a href="">营业执照</a></li>
						</ul>
					</div>
					<div class="spwb_top3">Copyright© 1号店网上超市 2007-2016， All Rights Reserved</div>
				</div>
			</div>
			<!--下-->
			<div class="spwb_bottom">
				<div class="spwb_bottom1"></div>
			</div>
		</div>
		<!--尾部结束-->
	</body>
</html>
